﻿@using hDUniverseSimulator.AspMvcUtils
@using PersonalWebSite.Common

@{Html.NavigationManager().AddNavigationHistoryItem(ViewContext.RouteData);}

<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 	<meta name="description" content="Hintea Dan Alexandru Personal Website. Latest Activities, photos, videos, news, writtings and other awesome stuff.">

    <!-- Update your html tag to include the itemscope and itemtype attributes -->
    <html itemscope itemtype="http://schema.org/Organization">

    <!-- Add the following three tags inside head -->
    <meta itemprop="name" content="Hintea Dan Alexandru Personal Website">
    <meta itemprop="description" content="Hintea Dan Alexandru Personal Website">
    <meta itemprop="image" content="https://lh6.googleusercontent.com/-DUtQ9l1fQdI/TGB4SUK8FhI/AAAAAAAACaE/MOlzRt2aJ6E/s800/MadeByRomania.jpg">

    <link rel="Shortcut Icon" href="/favicon.ico">
	<link rel="icon" href="/favicon.ico" type="image/x-icon">

    <link href='http://fonts.googleapis.com/css?family=Averia+Libre' rel='stylesheet' type='text/css'>

    @{
        ViewContext.ClientReferencesManager().IncludeCss("~/Content/Site.css");
        ViewContext.ClientReferencesManager().IncludeCss("~/Content/css/styles.css");
        ViewContext.ClientReferencesManager().IncludeCss("~/Content/css/styles_metro.css");

        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/3rd_party/jquery-1.7.1.min.js");
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/3rd_party/jquery-ui-1.8.18.custom.min.js");
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/3rd_party/knockout-2.0.0.js");
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/3rd_party/knockout.mapping-latest.js");
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/3rd_party/tooltipsy.min.js");
    }
    @Html.hDUniverseSimulator_JsAndCssIncludes("~/Scripts/hDUniverseSimulator", hDUniverseSimulator_Drawer.MetroStyleDrawer, i => ViewContext.ClientReferencesManager().IncludeCssRange(i), i => ViewContext.ClientReferencesManager().IncludeJsRange(i))
    @{
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/Prototypes.js");
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/hDUniverseSimulator/hDUniverseSimulator.js");
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/Common.js");
        ViewContext.ClientReferencesManager().IncludeJs("~/Scripts/Kuler.js");
    }
    @Html.CssAndJavascriptReferences()

    <script type="text/javascript">
        var _hD = [];
    </script>

    @if(System.Configuration.ConfigurationManager.AppSettings["IsGoogleTrackingEnabled"] == "true")
    {
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-8786747-7']);
        _gaq.push(['_trackPageview']);
	
        (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
    }
</head>

<body>
    @RenderBody()
    @{Html.RenderPartial("Wallpaper");}
    @{Html.RenderPartial("ModalOverlay");}
    @{Html.RenderPartial("AjaxIcon");}
    @{Html.RenderPartial("Notifier");}
    <script type="text/javascript">
        for (var i in _hD) {
            if (typeof (_hD[i]) != "function")
                continue;
            _hD[i]();
        }
    </script>
</body>
</html>
